package com.usian.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.usian.common.R;
import com.usian.pojo.Dept;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface DeptService {
    //添加部门
    R add(Dept dept);
    //查询
    Page<Dept> findPage(Integer page, Integer pageSize, String name);
    //下拉框1
    List<Dept> list1();
    //下拉框2
    List<Dept> list2(HttpSession session);
}
